import {get,post} from '@/utils/request'

export function getList(params) {
  return get('/ht/dataModelList.json',
    params)
}

// export function idenList() {
//   return get("/ht/idenList.json")
// }

export function  dataModelAdd(params) {
  return post('/ht/dataModelAdd.json',params)
}

export function  deleteDataModel(id) {
  return post('/ht/dataModelDel.json',{id:id})
}

export function  initDataModelData(id) {
   return get("/ht/dataModelDataList.json",{dataModelId:id})
}

